<template>
  <div id="header" class="p-l">{{ title }}</div>
</template>

<script>
export default {
  name: "Header",
  props: {
    title: {
      type: String,
      default: "标题",
    },
  },
};
</script>

<style lang="less" scoped>
#header {
  width: 100%;
  height: 50px;
  display: inline-block;
  background: url("~@/assets/img/bigBack.png");
  background-size: cover;
  line-height: 50px;
  font-weight: bold;
  color: #fff;
  padding-left: 80px;
}
</style>
